package org.jumiz.javafx.business.sys.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "sys_user")
public class UserEntity {

    @Id
    private Integer id;

    private String name;

    @Column(name = "login_name")
    private String loginName;

    private String password;

    private Status status;

    public enum Status {
        /**
         * 正常
         */
        NORMAL,
        /**
         * 删除
         */
        DELETED,
    }

}
